﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBMS.Models.DataInterfaces
{
    public interface IValueRepository
    {
        IList<Value> GetRow(int rowId); //get multiple values based on rowId

        IList<Value> GetValuesForColumn(int databaseId, int tableId, int columnId);

        IList<Value> GetValuesForTable(int databaseId, int tableId);

        void SaveOrUpdate(int databaseId, int tableId, Value value);

        void DeleteRow(int databaseId, int tableId, int rowId); //delete multiple values based on rowId

        void SaveMultipleValues(int databaseId, int tableId, int columnCount, IEnumerable<string> values);

        void UpdateMultipleValues(int p, int p_2, int rowId, IEnumerable<string> values);
    }
}
